package com.site.model.dining;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 餐厅评论
 * 
 * @author jack
 */
@Entity
@Table(name = "t_restaurant_comment")
public class RestaurantCommentInfo implements Serializable {
	private static final long serialVersionUID = -2442021189458935078L;

	private Long id;
	/*
	 * 会员编号
	 */
	private String mno;
	/*
	 * 餐厅编号
	 */
	private String rno;
	/*
	 * 评论时间
	 */
	private Date createdDate;
	/*
	 * 评论内容
	 */
	private String content;
	/*
	 * 菜品
	 */
	private Integer dishes;
	/*
	 * 环境
	 */
	private Integer surrounding;
	/*
	 * 服务
	 */
	private Integer service;

	@Id
	@GeneratedValue
	@Column(name = "ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "M_NO")
	public String getMno() {
		return mno;
	}
	public void setMno(String mno) {
		this.mno = mno;
	}
	@Column(name = "R_NO")
	public String getRno() {
		return rno;
	}
	public void setRno(String rno) {
		this.rno = rno;
	}
	@Column(name = "CREATED_DATE")
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	@Column(name = "CONTENT")
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Column(name = "DISHES")
	public Integer getDishes() {
		return dishes;
	}
	public void setDishes(Integer dishes) {
		this.dishes = dishes;
	}
	@Column(name = "SURROUNDING")
	public Integer getSurrounding() {
		return surrounding;
	}
	public void setSurrounding(Integer surrounding) {
		this.surrounding = surrounding;
	}
	@Column(name = "SERVICE")
	public Integer getService() {
		return service;
	}
	public void setService(Integer service) {
		this.service = service;
	}
}
